package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type UserPromote struct {
	Id        uint `gorm:"primaryKey;autoIncrement"`
	RefererId uint
	Uid       uint
	CreatedAt int64 `gorm:"column:created_time"`
}

func (UserPromote) TableName() string {
	return fmt.Sprintf("%suser_promote", models.Prefix)
}
